﻿/*** ESSENTIAL STYLES ***/
#topMenu, #topMenu *
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: tahoma;
	font-weight: bold;
	letter-spacing: 0px;
}
#topMenu
{
	line-height: 1.0;
	background: transparent url(images/Menubackground.png) repeat-x left top;
	width: 100%;
}
#topMenu ul
{
	position: absolute;
	top: -999em;
	width: 16em; /* left offset of subMenus need to match (see below) */
	z-index: 2;
}
#topMenu ul li
{
	width: 100%;
	border-collapse: collapse;
	color: #f0f0f0 !important;
	border-right: 1px none #bbbbbb;
	margin-right: 1px;
	background: #6bccff none;
}
#topMenu li:hover
{
	visibility: inherit; /* fixes IE7 'sticky bug' */
	background: #ddd;
}
#topMenu li
{
	float: left;
	position: relative;
	z-index: 3;
	border-right: 1px solid #BBBBBB;
}
#topMenu li ul
{
}
#topMenu a
{
	display: block;
	position: relative;
}
#topMenu li:hover ul, #topMenu li.sfHover ul
{
	left: 0;
	top: 2.5em; /* match top ul list item height */
	z-index: 999999;
}
ul#topMenu li:hover li ul, ul#topMenu li.sfHover li ul
{
	top: -999em;
}
ul#topMenu li li:hover ul, ul#topMenu li li.sfHover ul
{
	left: 16em; /* match ul width */
	top: 0;
}
ul#topMenu li li:hover li ul, ul#topMenu li li.sfHover li ul
{
	top: -999em;
}
ul#topMenu li li li:hover ul, ul#topMenu li li li.sfHover ul
{
	left: 16em; /* match ul width */
	top: 0;
}

/*** DEMO SKIN ***/
#topMenu
{
	float: left;
}
#topMenu a
{
	padding: .75em 1em;
	text-decoration: none;
}
#topMenu a, #topMenu a:visited
{
	/* visited pseudo selector so IE6 applies text colour*/
	color: #505050;
}
#topMenu li
{
}
#topMenu li li
{
	background: #eee;
	background-image: none;
}
#topMenu li li li
{
	background: #9AAEDB;
}

#topMenu li ul li a, #topMenu li li a:visited
{
	background: url("images/Menubackground.png") repeat-x scroll left top;
	color: #333;
	margin-right: 0px;
}

#topMenu ul li:hover, #topMenu ul li.sfHover, #topMenu ul li a:hover, #topMenu ul li a:focus, #topMenu ul li a:active
{
	background: #ddd;
	outline: 0;
}



/*** arrows **/
#topMenu a.sf-with-ul
{
	padding-right: 22px;
	min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
	margin-right: 8px;
}

#topMenu ul a.sf-with-ul
{
	margin-right: 0px;
}

#topMenu ul li
{
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb; /*border-bottom:1px solid #bbb;*/
}

.sf-sub-indicator
{
	position: absolute;
	display: block;
	right: .75em;
	top: 1.05em; /* IE6 only */
	width: 10px;
	height: 10px;
	text-indent: -999em;
	overflow: hidden;
	background: url('images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator
{
	/* give all except IE6 the correct values */
	top: .8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator, a:hover > .sf-sub-indicator, a:active > .sf-sub-indicator, li:hover > a > .sf-sub-indicator, li.sfHover > a > .sf-sub-indicator
{
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#topMenu ul .sf-sub-indicator
{
	background-position: -10px 0;
}
#topMenu ul a > .sf-sub-indicator
{
	background-position: 0 0;
}
/* apply hovers to modern browsers */
#topMenu ul a:focus > .sf-sub-indicator, #topMenu ul a:hover > .sf-sub-indicator, #topMenu ul a:active > .sf-sub-indicator, #topMenu ul li:hover > a > .sf-sub-indicator, #topMenu ul li.sfHover > a > .sf-sub-indicator
{
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
#topMenu ul
{
	/*background:	url('images/shadow.png') no-repeat bottom right;*/
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
#topMenu ul.sf-shadow-off
{
	background: transparent;
}
